const data = { 
    name: 'Jack',
    age: 24,
    city: 'chengdu'
}

// [ 'name', 'age' ]
console.log(Object.getOwnPropertyNames(data))
console.log(Reflect.ownKeys(data))

// true
console.log('name' in data)
console.log(Reflect.has(data, 'name'))

// delete
delete data.age
Reflect.deleteProperty(data, 'city')
console.log(data)